package com.zdlee.netty.server19.client.console;

import com.zdlee.netty.server19.protocol.request.LogoutRequestPacket;
import io.netty.channel.Channel;

import java.util.Scanner;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-12-01 13:34
 */
public class LogoutConsoleCommand implements ConsoleCommand {
    @Override
    public void exec(Scanner sc, Channel channel) {
        LogoutRequestPacket logoutRequestPacket=new LogoutRequestPacket();
        channel.writeAndFlush(logoutRequestPacket);
    }
}
